Returns a vector of which members of a struct are potentially in use by a
SPIR-V shader. The granularity of this analysis is per-member of a struct.
This can be used for Buffer (UBO), BufferBlock/StorageBuffer (SSBO) and PushConstant blocks.
ID is the Resource::id obtained from get_shader_resources().
Returns a vector of which members of a struct are potentially in use by a SPIR-V shader. The granularity of this analysis is per-member of a struct. This can be used for Buffer (UBO), BufferBlock/StorageBuffer (SSBO) and PushConstant blocks. ID is the Resource::id obtained from get_shader_resources().